// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_FIN_TAX_DETAIL
// * CreateDate    : 2014-06-05 18:29:54
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:29:54
// * LastChanger   : 2014-06-05 18:29:54
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class FinTaxDetailTable : TableInfo
    {
		public const string C_TableName = "FIN_TAX_DETAIL";
		
		public const string C_TAX_ID = "TAX_ID";
		public const string C_CONSUMPTION_TAX = "CONSUMPTION_TAX";
		public const string C_BUSINESS_TAX = "BUSINESS_TAX";
		public const string C_BUILDING_TAX = "BUILDING_TAX";
		public const string C_RESOURCES_TAX = "RESOURCES_TAX";
		public const string C_INCREMENT_TAX = "INCREMENT_TAX";
		public const string C_CITY_TAX = "CITY_TAX";
		public const string C_EDUCATION_TAX = "EDUCATION_TAX";
		public const string C_UNLOADING_TAX = "UNLOADING_TAX";
		public const string C_TAX_DATE = "TAX_DATE";
		public const string C_OTHER_TAX = "OTHER_TAX";
		
		public FinTaxDetailTable()
        {
            _tableName = "FIN_TAX_DETAIL";
        }
		
		protected static FinTaxDetailTable _current;
        public static FinTaxDetailTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new FinTaxDetailTable();

            _current.Add(C_TAX_ID, new ColumnInfo(C_TAX_ID,"TaxId", true, typeof(string)));
            _current.Add(C_CONSUMPTION_TAX, new ColumnInfo(C_CONSUMPTION_TAX,"ConsumptionTax", false, typeof(decimal)));
            _current.Add(C_BUSINESS_TAX, new ColumnInfo(C_BUSINESS_TAX,"BusinessTax", false, typeof(decimal)));
            _current.Add(C_BUILDING_TAX, new ColumnInfo(C_BUILDING_TAX,"BuildingTax", false, typeof(decimal)));
            _current.Add(C_RESOURCES_TAX, new ColumnInfo(C_RESOURCES_TAX,"ResourcesTax", false, typeof(decimal)));
            _current.Add(C_INCREMENT_TAX, new ColumnInfo(C_INCREMENT_TAX,"IncrementTax", false, typeof(decimal)));
            _current.Add(C_CITY_TAX, new ColumnInfo(C_CITY_TAX,"CityTax", false, typeof(decimal)));
            _current.Add(C_EDUCATION_TAX, new ColumnInfo(C_EDUCATION_TAX,"EducationTax", false, typeof(decimal)));
            _current.Add(C_UNLOADING_TAX, new ColumnInfo(C_UNLOADING_TAX,"UnloadingTax", false, typeof(decimal)));
            _current.Add(C_TAX_DATE, new ColumnInfo(C_TAX_DATE,"TaxDate", false, typeof(DateTime)));
            _current.Add(C_OTHER_TAX, new ColumnInfo(C_OTHER_TAX,"OtherTax", false, typeof(decimal)));
			
		}
		
		public ColumnInfo TAX_ID
        {
            get { return this[C_TAX_ID]; }
        }
		
		public ColumnInfo CONSUMPTION_TAX
        {
            get { return this[C_CONSUMPTION_TAX]; }
        }
		
		public ColumnInfo BUSINESS_TAX
        {
            get { return this[C_BUSINESS_TAX]; }
        }
		
		public ColumnInfo BUILDING_TAX
        {
            get { return this[C_BUILDING_TAX]; }
        }
		
		public ColumnInfo RESOURCES_TAX
        {
            get { return this[C_RESOURCES_TAX]; }
        }
		
		public ColumnInfo INCREMENT_TAX
        {
            get { return this[C_INCREMENT_TAX]; }
        }
		
		public ColumnInfo CITY_TAX
        {
            get { return this[C_CITY_TAX]; }
        }
		
		public ColumnInfo EDUCATION_TAX
        {
            get { return this[C_EDUCATION_TAX]; }
        }
		
		public ColumnInfo UNLOADING_TAX
        {
            get { return this[C_UNLOADING_TAX]; }
        }
		
		public ColumnInfo TAX_DATE
        {
            get { return this[C_TAX_DATE]; }
        }
		
		public ColumnInfo OTHER_TAX
        {
            get { return this[C_OTHER_TAX]; }
        }
		
		
		
	}
}

